package stravel

class HotelViewCounter {

	static belongsTo = [hotel:Hotel]
	Date viewDate
	
    static constraints = {
		
		hotel(nullable:false, blank:false)
		viewDate(nullable:true, blank:true)
    }
	
	static mapping = {
		version false
	}
}
